package com.group.model;


import java.util.Date;

/**
 * 数字货币充值记录信息
 *
 * @author Zhangyang Hu
 */
public class CoinChargeInfo {

    /**
     * id
     */
    private Long id;

    /**
     * user表的ID值
     */
    private Long userId;

    /**
     * cid
     */
    private String cid;

    /**
     * 用户欲充值（转账）数量
     */
    private Integer amount;

    /**
     * 系统随机生成的小数点后两位数值
     */
    private Double randomPrec;

    /**
     * 时间戳。用于计算时间范围。 用户充值时间范围默认设置为30分钟
     */
    private Long timestamp;

    /**
     * N: 初始状态 S: 成功处理完毕 E: 过期不处理
     */
    private String status;

    /**
     * 用户名
     */
    private String name;

    /**
     * 头像
     */
    private String headimage;

    /**
     * 电话
     */
    private String tel;

    /**
     * 充值时间
     */
    private Date createTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Double getRandomPrec() {
        return randomPrec;
    }

    public void setRandomPrec(Double randomPrec) {
        this.randomPrec = randomPrec;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
